<%@page import="com.mmy.domain.visa.TVisaBase"%>
<%@page import="com.mmy.domain.constzone.TConstZone"%>
<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<script type="text/javascript" src="js/jsp/back/visa/visaBaseIndex.js"></script>
	<title>签证管理</title>
	</head>
	<body>
		<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
		<div id="menu-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1>签证管理</h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					<!-- 新建签证基本信息 -->
					<div class="information" >
					<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>新建签证基本信息
						</h4>
					<div class="input-container">
					<form action="backsavecreatevisabase" class="info-form" name="visaBaseForm" method="post" onSubmit="return visaBaseSubmit(this);" >
						
					<table class="info-table">
					<tr>
					<th><label for="visaBaseName">签证名称</label><span class="mustWrite">*</span></th>
					<td colspan="5">
						<input type="text" name="VisaName" id="visaBaseName"  required="required"/>
					</td>
					</tr>
					<tr>
					
					<th><label for="visaBaseZoneID">所属区域</label><span class="mustWrite">*</span></th>
					<td colspan="2">
					<select class="input-select-vlign " id="visaBaseZoneID" name="Continent" emptyOption="false"  onchange="changeSelect(this,'getLevel2','level1','Country')"  required>
					<option value="">---请选择---</option>
					<c:forEach var="lstZoneContinent" items="${lstZoneContinent}">
						<option value="${lstZoneContinent.getZoneID()}">${lstZoneContinent.getZoneName()}</option>
						</c:forEach>
						</select>
						<select class='input-select-vlign  Country' name='ZoneID' emptyOption='false'  required>
						<option value="">---请选择---</option>
						</select> 	
					</td>
					<th><label for="visaBaseType">签证类型</label><span class="mustWrite">*</span></th>
					<td colspan="2">
					<select class="input-select-vlign " id="visaBaseType" name="Type" onblur="checkZoneIDandType(this.value)" required>
					<option value="">---请选择---</option>
						<option value="0">团签</option>
						<option value="1">个签</option>
						</select> 	
					</td>
					
					
				</tr>
				
				<tr >
					<th><label for="visaBaseFloor">租赁底价</label><span class="mustWrite">*</span></th>
					<td colspan="2">
						<input type="number" name="Floor" id="visaBaseFloor" required="required"/>
					</td>
					
				<th><label for="visaBasePeer">租赁同业价</label><span class="mustWrite">*</span></th>
					<td colspan="2">
						<input type="number" name="Peer" id="visaBasePeer" required="required"/>  
					</td>
					
				</tr>
			<tr>
				<th><label for="visaBasePrice">对外报价</label><span class="mustWrite">*</span></th>
					<td colspan="2">
						<input type="number" name="Price" id="visaBasePrice" required="required"/>		 
					</td>
					<th><label for="visaBaseDay">办理周期</label><span class="mustWrite">*</span></th>
					<td colspan="2">
						<label for="visaBaseDay">工作日</label>
						<input type="number" name="Day" id="visaBaseDay" required="required"/><label>天
						
					</td>
				</tr>
				<tr>
					
					<th><label for="visaBaseMemo">备注</label></th>
						<td colspan="5">
						<textarea name="Memo" id="visaBaseMemo"></textarea>
					</td>
					
				</tr>
				
			</table>
			<center>
				<input type="submit" class="btn" value="保存" />
				
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</form>
			</div>
			
			</div>
			</section>
			</article>
			</main>
			<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Script Embed Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Slider -->
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>

</html>